<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org" xmlns:http="http://www.w3.org/1999/xhtml"
      xmlns:sec="http://www.thymeleaf.org/thymeleaf-extras-springsecurity4" >
<div th:fragment="header">
<header class="main-header"  >
    <!-- Logo -->
    <a href="all-admin-index.html" class="logo" > <!-- mini logo for sidebar mini 50x50 pixels -->

        <span class="logo-mini"><b>KFC</b></span> <!-- logo for regular state and mobile devices -->
        <span class="logo-lg"><b>肯德基</b>会员管理</span>
    </a>
    <!-- Header Navbar: style can be found in header.less -->
    <nav class="navbar navbar-static-top">
        <!-- Sidebar toggle button-->
        <a href="#" class="sidebar-toggle" data-toggle="offcanvas"
           role="button"> <span class="sr-only">Toggle navigation</span>
        </a>

        <div class="navbar-custom-menu">
            <ul class="nav navbar-nav">

                <li class="dropdown user user-menu"><a href="#"
                                                       class="dropdown-toggle" data-toggle="dropdown">
                    <img
                            src="/img/logo.jpg"
                            class="user-image" alt="User Image">
                    <span class="hidden-xs" sec:authentication="principal.username" >
					</span>

                </a>
                    <ul class="dropdown-menu">
                        <!-- UserInfo image -->
                        <li class="user-header">
                            <img
                                    src="/img/logo.jpg"
                                    class="img-circle" alt="User Image">
                        </li>

                        <!-- Menu Footer-->
                        <li class="user-footer">
                            <div class="pull-left">
                                <a href="#" class="btn btn-default btn-flat">修改密码</a>
                            </div>
                            <div class="pull-right">
                                <a href="/logout.do"
                                   class="btn btn-default btn-flat">注销</a>
                            </div>
                        </li>
                    </ul></li>

            </ul>
        </div>
    </nav>
</header>
</div>
<body>

</body>
</html>